You
can create a pull-down menu, add submenus and commands to it on
the Customize tab of the Customize User Interface (CUI) Editor.
You can create and modify standard pull-down menus
to display and organize the commands to best match the way you work.
Commands are added to a pull-down menu from the Command List pane.
Once commands are added to a pull-down menu, you can change the
caption displayed for the command on the menu, reposition commands,
and organize commands using separators. Along with separators, you
can also group commands using submenus. For more information on
submenus, see
Create Submenus.
As you modify the positioning
of commands on menus, the online Help system is automatically updated
to reflect the change through the Dynamic Help feature. For more
information about how Dynamic Help affects customization, see
How Customization Has Changed.
NoteWhen you create a
menu, you should determine in which workspaces you want to display
the menu in. By default, a new menu is displayed in all workspaces.
Pull-Down Menu Aliases
Pull-down menus should have one alias in the range
of POP1 through POP499. Menus with an alias of POP1 through POP16
are loaded by default when a menu loads. All other menus must be
added to a workspace to be displayed.
Show Me: Create a Pull-Down
Menu
The following animation
shows how to create a custom pull-down menu, and place both standard
and custom commands on it.
Click Manage
tab Customization
panel User
Interface. At the Command prompt,
enter cui.
In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
right-click Menus. Click New Menu.
A new menu (named Menu1) is placed at the bottom
of the Menus tree.
Do one of the following:
Enter a new name over the default name
Menu1.
Right-click Menu1. Click Rename. Enter
a new menu name.
Click Menu1, wait, and click again over
the menu’s name again to edit its name in-place.
Select the new menu in the tree view,
and update the Properties pane as follows:
In the Description box, enter a description
for the menu.
In the Aliases box, an alias is automatically
assigned to the new menu, based on the number of menus already loaded.
For example, if the alias assignment is POP12, eleven menus are
already loaded. View or edit the alias.
(Optional) If the name change is based
upon a DIESEL expression, the DIESEL expression should be included
in the Name box.
In the Command List pane, drag the command
to a location just below the menu in the Customizations In <file
name> pane.
NoteYou can change the
name of a command after it has been added to a menu. This allows
you to define how the user can access the menu item using keyboard
navigation with the Alt key. To do this, select the menu item under the
Menus node and then change the Name property in the Properties pane.
Click Apply.
To add a command to a pull-down
menu
Click Manage
tab Customization
panel User
Interface. At the Command prompt,
enter cui.
In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the menu to which you want to add a command.
In the Command List pane, drag the command
you want to add to a location just below the menu in the Customizations
In <file name> pane.
NoteYou can change the
name of a command after it has been added to a menu. This allows
you to define how the user can access the menu item using keyboard
navigation with the Alt key. To do this, select the menu item under the
Menus node and then change the Name property in the Properties pane.
To change the caption of
a menu item on a pull-down menu
Click Manage
tab Customization
panel User
Interface. At the Command prompt,
enter cui.
In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the plus sign (+) next to the Menus node to expand it.
Click the plus sign (+) next to the pull-down
menu that has the command whose text you want to change.
Select the command whose text you want
to change.
In the Properties pane, in the Display
section, make the desired change to the Name property (not the Command
Name or Command Display Name properties).